/*
 * Copyright (C) 2010 Seapeak.Xu
 *
 * fostmq may be copied only under the terms of the GNU General
 * Public License V3, which may be found in the fostmq source kit.
 *
 * Created on: 2010-7-27
 * Author: Seapeak.Xu
 */

#ifndef FOSTMQ_CONF_H_
#define FOSTMQ_CONF_H_
#ifdef __cplusplus
extern "C"
{
#endif

#include "fost_mgnb.h"
#include "fost_typedef.h"

extern char g_bindip[IP_LEN];
extern int g_port;
extern int g_timeout;
extern int g_connections;
extern int g_threadpools;
extern char g_logpath[PATH_LEN];
extern char g_storepath[PATH_LEN];
extern int g_synctime;
extern int g_chucksize;
extern int g_nonleafnodes;
extern char g_logprefix[PATH_LEN];
extern int g_loglines;
extern int g_loglevel;
extern int g_stacksize;
extern int g_daemon;
extern int g_namedqueue_message_size;
extern int g_namedqueue_size;
int set_conf(const char *key, const char *value);

#ifdef __cplusplus
}
#endif
#endif /* CONF_H_ */
